package demo06TemplateMethodPattern;

/**
 * @author: WangPeng
 * @createTime: 2022/11/10 17:59
 * @description:
 * @version: v1.0
 */
public class DaPanJi implements ChaoChai{
    @Override
    public void Buy() {
        System.out.println("买了鸡腿和土豆");
    }

    @Override
    public void chuLi() {
        System.out.println("处理鸡腿和土豆");
    }

    @Override
    public void qiGuoSaoYou() {
        System.out.println("起锅烧油");
    }

    @Override
    public void putInto() {
        System.out.println("放入食材");
    }

    @Override
    public void add() {
        System.out.println("加入调料");
    }

    @Override
    public void fanChao() {
        System.out.println("翻炒均匀");
    }

    @Override
    public void putOut() {
        System.out.println("盛出大盘鸡");
    }
}
